import request from '@/utils/request';
import { parseStrEmpty } from '@/utils/ruoyi';

/** 用户列表 */
export const GetUserList = payload =>
  request({
    url: '/committee/userinfo/getstudentmanager/'+ payload,
    method: 'get',
  });

  // 教师下拉框
export function canChooseTeacherList(parm) {
  return request({
    url: '/eqxm/teamTeacher/canChooseTeacherList/' + parm,
    method: 'get'
  })
}

/** 组织列表 */
export const GetOrgList = payload =>
  request({
    url: '/committee/org/assisting',
    method: 'get',
    params: payload,
  });

  /** 学期列表 */
export function GetYearList(query) {
  return request({
    url: '/committee/year/list',
    method: 'get',
    params: query
  })
}
